<?php

class Mindex extends REST_Model
{
    function __construct()
    {
        parent::__construct();
    }


    public function add($data)
    {
        $log = $this->insert('t_word', $data);
        return $log;
    }


    public function get()
    {

        $condition = array();
        $result = $this->selectCon('t_word', $condition);

        return $result;
    }


}

?>